#pragma once
#include "projectile.h"
#include "CreateProjectileMessage.h"

class Emitter;

class SpecialProj : public Projectile
{
	Emitter* sfx;
	float lifeSpan;
	float lifeTimer;
	float moveTimer;
	float moveDistance;
	float damageTimer;
	float damageRate;
	bool collisionReady;
	int bulletType;
public:
	SpecialProj(BulletType bType);

	virtual ~SpecialProj(void);

	virtual void Update(float elapsed);

	virtual void Render();

	virtual bool CheckCollision(IEntity* base);

	virtual void SetDirection(int d);

	//void SetPosition(int x, int y)	{SetX(x); SetY(y);}
	
	RECT GetRect();
};

